import { DataTypes } from "sequelize";
import sequelize from "../db/seq.js";
const LegendsType = sequelize.define("LegendsType", {
  id: {
    type: DataTypes.INTEGER,
    primaryKey: true,
    autoIncrement: true,
  },
  typeName: {
    type: DataTypes.STRING,
    allowNull: false,
    unique: true,
    comment: "分类名称",
  },
});
// LegendsType.sync({ force: false });
export default LegendsType;
